package com.ddx.pojo;

import com.ddx.common.util.DateUtils;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ShortVideo {
    private Integer id;

    private Integer userId;

    private String videoUrl;

    private String coverUrl;

    private String videoId;

    private String content;

    private String pushUserId;

    private String address;

    private String type;

    private String advContent;

    private String advUrl;

    private String advImg;

    private Integer videoLikeNum;

    private String status;

    private String remark;

    private Date createTime;

    private Date updateTime;

    private Integer isLike;

    private String reviewStatus;

    private String imageUrl;

    private String userName;

    private String releaseTime;

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl == null ? null : videoUrl.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getPushUserId() {
        return pushUserId;
    }

    public void setPushUserId(String pushUserId) {
        this.pushUserId = pushUserId == null ? null : pushUserId.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getAdvContent() {
        return advContent;
    }

    public void setAdvContent(String advContent) {
        this.advContent = advContent == null ? null : advContent.trim();
    }

    public String getAdvUrl() {
        return advUrl;
    }

    public void setAdvUrl(String advUrl) {
        this.advUrl = advUrl == null ? null : advUrl.trim();
    }

    public String getAdvImg() {
        return advImg;
    }

    public void setAdvImg(String advImg) {
        this.advImg = advImg == null ? null : advImg.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateUtils.DateTimeFormat, timezone = "GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DateUtils.DateTimeFormat, timezone = "GMT+8")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getVideoLikeNum() {
        return videoLikeNum;
    }

    public void setVideoLikeNum(Integer videoLikeNum) {
        this.videoLikeNum = videoLikeNum;
    }

    public Integer getIsLike() {
        return isLike;
    }

    public void setIsLike(Integer isLike) {
        this.isLike = isLike;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    @Override
    public String toString() {
        return "ShortVideo{" + "id=" + id + ", userId=" + userId + ", videoUrl='" + videoUrl + '\'' + ", coverUrl='" + coverUrl + '\'' + ", videoId='" + videoId + '\'' + ", content='" + content + '\'' + ", pushUserId='" + pushUserId + '\'' + ", address='" + address + '\'' + ", type='" + type + '\'' + ", advContent='" + advContent + '\'' + ", advUrl='" + advUrl + '\'' + ", advImg='" + advImg + '\'' + ", videoLikeNum=" + videoLikeNum + ", status='" + status + '\'' + ", remark='" + remark + '\'' + ", createTime=" + createTime + ", updateTime=" + updateTime + ", isLike=" + isLike + ", imageUrl='" + imageUrl + '\'' + ", userName='" + userName + '\'' + ", releaseTime='" + releaseTime + '\'' + '}';
    }
}